<script setup lang="ts">
const cat = {
  name: '布偶猫',
  age: 18,
  break() {
    alert('喵')
  }
}
</script>
<template>
  <div>{{ cat.name }}</div>
  <button @click="cat.break">叫</button>
</template>
<style scoped></style>
